import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'

Vue.use(VueRouter)

const router = new VueRouter({
  mode: 'history',
  base: import.meta.env.BASE_URL,
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView
    },
    {
      path: '/dna-test',
      name: 'dnaTest',
      component: () => import('../views/DnaTestView.vue')
    },
    {
      path: '/company-comparison',
      name: 'companyComparison', 
      component: () => import('../views/CompanyComparisonView.vue')
    },
    {
      path: '/tools-detail',
      name: 'toolsDetail',
      component: () => import('../views/ToolsDetailView.vue')
    },
    {
      path: '/stage1-service',
      name: 'stage1Service',
      component: () => import('../views/Stage1ServiceView.vue')
    },
    {
      path: '/stage2-tools',
      name: 'stage2Tools',
      component: () => import('../views/Stage2ToolsView.vue')
    },
    {
      path: '/stage2-service',
      name: 'stage2Service',
      component: () => import('../views/Stage2ServiceView.vue')
    },
    {
      path: '/stage3-tools',
      name: 'stage3Tools',
      component: () => import('../views/Stage3ToolsView.vue')
    },
    {
      path: '/stage3-service',
      name: 'stage3Service',
      component: () => import('../views/Stage3ServiceView.vue')
    },
    {
      path: '/service-price',
      name: 'servicePrice',
      component: () => import('../views/servicePrice.vue')
    }
  ]
})

export default router
